package com.fanhang.samples.spring.mvc.serverlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.DispatcherServlet;

public class Log4jDispatcherServlet extends DispatcherServlet {

	private static final long serialVersionUID = -304296018933479132L;

	@Override
	protected void service(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
//		RequestMappingHandlerMapping
		
//		logger.info("Request: " + request.getRequestURI());
		super.service(request, response);
	}

}
